﻿using System;
using System.Collections.Generic;
using System.ServiceModel.Syndication;
using MSAcademic.v2.Infrastructure.SubSection;

namespace MSAcademic.v2.Infrastructure.Article
{
    public interface IArticleRssService
    {
        List<SyndicationItem> BuildLatestArticlesRss(List<IArticle> articles);
        List<SyndicationItem> BuildHightLightedArticlesRss(List<Tuple<ISubSection, List<IArticle>>> articles);
        List<SyndicationItem> BuildContentSectionRss(List<IArticle> articles, string contentSectionName);
        List<SyndicationItem> HomeRssMerge(List<SyndicationItem> highlighted, List<SyndicationItem> latest);
        List<SyndicationItem> BuildAuthorRss(List<IArticle> articles);
        SyndicationItem BuildArticleRss(IArticle article);
    }
}
